]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Use one consistent animation mode for minimize/unminimize
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 16 Dec 2021 07:28:20 +0000 (15:28 +0800)
committerMarge Bot <marge-bot@gnome.org>
Wed, 22 Dec 2021 16:16:23 +0000 (16:16 +0000)
commit9069183cecaf71346ee39cc0adadc1c6213003bc
tree8e1458877b3836878c19143eaf9b281895d58bad
parentca1291e418d71effd868909f90d3f9b5fd1b2565
windowManager: Use one consistent animation mode for minimize/unminimize

Firstly don't use EASE_IN for any minimize/unminimize animations because
those start slow and end fast. The effect of that was minimize/unminimize
appearing to be unresponsive to user clicks for a little while before
accelerating away. All such animations should be EASE_OUT for an immediate
response followed by deceleration at the end.

Secondly we replace the shallow 200ms QUADratic curves with a steeper
400ms EXPOnetial curve. Because it's steeper and twice as long the fast part
feels the same as 200ms QUAD, but there's an extra 200ms after that in which
to slow down smoothly giving a more fluid appearance. No sudden stops.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=786789
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2066>
js/ui/windowManager.js